<?php

namespace App\Http\Requests\Personal\ResumeMange;
use App\Http\Requests\Request;

class modOtherRequest extends Request {
    public function authorize(){
        return true;
    }
    public function rules(){
        $input = $this->all();
        return [
            'title'=>'required',
            'content' => 'required',
        ];
    }
    public function messages(){
        return [
            'title.required'=>'主题名称不能为空',
            'content.required'=>'内容描述不能为空',
        ];
    }
}